package ve.com.wayoyo.wuml_case.DibujoDiagramas;

public class FactoryDiagrama {
	public static Diagrama factory (String tipo)
	{
		Diagrama diagrama = null;
		if(tipo.equals("Clases")){
			diagrama = new DiagramaClases();
		}else if (tipo.equals("er")){
			diagrama = new DiagramaER();
		}
		
		return diagrama;
	}	
}
